projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc6ef8
)
(x_destroy_window): Call x_free_gcs so that
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 7 Dec 2000 11:43:06 +0000
(11:43 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 7 Dec 2000 11:43:06 +0000
(11:43 +0000)
resources of non-toolkit X windows will be freed.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f30ee0159fdcbe4edaf6ac1f82d5991383036a09..c0cfa0cb8dfb4ef28a7003b59e02ad6d6d774180 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-12452,8
+12452,9
@@
x_destroy_window (f)
unload_color (f, f->output_data.x->white_relief.pixel);
if (f->output_data.x->black_relief.allocated_p)
unload_color (f, f->output_data.x->black_relief.pixel);
-
+
free_frame_faces (f);
+ x_free_gcs (f);
XFlush (FRAME_X_DISPLAY (f));
}